package com.zonhar.autofeed.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zonhar.autofeed.entities.entity.SensorLogEntity;

import java.util.List;

public interface SensorLogService extends IService<SensorLogEntity> {
    void saveLog(JSONObject json,String sensorName);

    List<SensorLogEntity> pageList(Integer size);
}
